package c.e.a.b.e.c;

import android.os.RemoteException;
import c.e.a.b.e.c.g.a;

/* compiled from: com.google.android.gms:play-services-measurement-sdk-api@@18.0.0 */
public final class n extends a {
    public final /* synthetic */ Boolean e;
    public final /* synthetic */ g f;

    public n(g gVar, Boolean bool) {
        this.f = gVar;
        this.e = bool;
        super(true);
    }

    public final void a() throws RemoteException {
        if (this.e != null) {
            this.f.h.setMeasurementEnabled(this.e.booleanValue(), this.a);
        } else {
            this.f.h.clearMeasurementEnabled(this.a);
        }
    }
}
